<?php
if(mail('mb@dsq.co.uk','test subject','test message')){

      echo('ok');

    }

else{

      echo('not ok');

    }
?>